﻿@model laboration2.Models.Contact

@{
    ViewBag.Title = "Ta bort kontakt";
}

@section heading {
<p>Är du säker på att du vill ta bort kontakten @Html.DisplayFor(model => model.FirstName) @Html.DisplayFor(model => model.LastName)? 
Denna åtgärd går inte att ångra!</p>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Ta bort"  class="btn success"/>
        @Html.ActionLink("Ångra", "Index", null, new { @class = "btn danger"})
    </p>
}
}
@*<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Contact</legend>

    <div class="display-label">FirstName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">LastName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>

    <div class="display-label">EmailAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EmailAddress)
    </div>
</fieldset>*@

